home *** CD-ROM | disk | FTP | other *** search
- ;The following command should be applied to DOSEDIT2
- ;to patch it to work with FANSI-CONSOLE, or any
- ;machine emulating the IBM PC ROM BIOS video calls.
- ;Note that this is unnecessary if you use
- ;the FANSI-CONSOLE /Y=1 option.
- ;(Use DEBUG to display at 100).
- ;After the patch is made, DOSEDIT2 will still
- ;also work without FANSI-CONSOLE.
- ;The commented lines (ones starting with semi-
- ;colons) will generate error text but that is OK.
- ;----------------------------------------------
- ; debug dosedit2.com <dosedit2.pch
- ;----------------------------------------------
- ; MOV DX,ES:[0050]
- A21C
- call 7a4
- nop
- nop
-
- ; MOV AH,ES:[004A]
- A221
- call 7ec
- nop
- nop
-
- ; MOV BH,00
- ; MOV AH,02
- A235
- call 832
- nop
-
- ; MOV DL,ES:[044A]
- A246
- call 7fc
- nop
- nop
-
- ; MOV CX,ES:[0450]
- A251
- call 7b4
- nop
- nop
-
- ; CMP CL,ES:[0450]
- A25E
- call 7d8
- nop
- nop
-
- ; MOV AX,ES:[0450]
- A29A
- call 7c6
- nop
-
- ; MOV BH,00
- ; MOV AH,03
- A2C7
- call 820
- nop
-
- ; MOV DX,ES:[0450]
- A398
- call 7a4
- nop
- nop
-
- ; MOV AX,ES:[0450]
- a427
- call 7c6
- nop
-
- ; CMP CX,ES:[0450]
- a42F
- call 80c
- nop
- nop
-
- ; CMP CX,ES:[0450]
- A51B
- call 80c
- nop
- nop
-
- ; MOV BH,00
- ; INT 10
- A52C
- call 83a
- nop
-
- ; MOV AX,ES:[044A]
- A578
- call 856
- nop
-
- ; MOV BX,0070
- a590
- call 842
-
- ; MOV AH,02
- ; INT 10
- a604
- call 84a
- nop
-
- ; MOV DX,07A4
- A79F
- mov dx,0880
-
- ; MOV DX,ES:[0450]
- a7a4
- push ax
- push bx
- push cx
- cs:mov bh,[AFE]
- mov ah,03
- int 10
- pop cx
- pop bx
- pop ax
- ret
-
- ; MOV CX,ES:[0450]
- a7b4
- push ax
- push bx
- push dx
- cs:mov bh,[AFE]
- mov ah,03
- int 10
- mov cx,dx
- pop dx
- pop bx
- pop ax
- ret
-
- ; MOV AX,ES:[0450]
- a7c6
- push dx
- push bx
- push cx
- cs:mov bh,[AFE]
- mov ah,03
- int 10
- mov ax,dx
- pop cx
- pop bx
- pop dx
- ret
-
- ; CMP CL,ES:[0450]
- a7d8
- push ax
- push bx
- push dx
- push cx
- cs:mov bh,[AFE]
- mov ah,03
- int 10
- pop cx
- cmp cl,dl
- pop dx
- pop bx
- pop ax
- ret
-
- ; MOV AH,ES:[044A]
- a7ec
- push bx
- push ax
- mov ah,0f
- int 10
- cs:mov [afe],bh
- pop bx
- mov al,bl
- pop bx
- ret
-
- ; MOV DL,ES:[044A]
- a7fc
- push bx
- push ax
- mov ah,0f
- int 10
- cs:mov [afe],bh
- mov dl,ah
- pop ax
- pop bx
- ret
-
- ; CMP CX,ES:[0450]
- a80c
- push ax
- push bx
- push dx
- push cx
- cs:mov bh,[AFE]
- mov ah,03
- int 10
- pop cx
- cmp cx,dx
- pop dx
- pop bx
- pop ax
- ret
-
- ; MOV BH,00
- ; MOV AH,03
- a820
- push ax
- push bx
- mov ah,0f
- int 10
- cs:mov [AFE],bh
- pop ax
- mov bl,al
- pop ax
- mov ah,03
- ret
-
- ; MOV BH,00
- ; MOV AH,02
- a832
- cs:mov bh,[AFE]
- mov ah,02
- ret
-
- ; MOV BH,00
- ; INT 10
- a83a
- cs:mov bh,[AFE]
- int 10
- ret
-
- ; MOV BX,0070
- a842
- mov bl,70
- cs:mov bh,[afe]
- ret
-
- ; MOV AH,02
- ; INT 10
- a84a
- cs:mov bh,[afe]
- mov ah,02
- int 10
- ret
-
- ; MOV AX,ES:[044A]
- a856
- push bx
- mov ah,0f
- int 10
- cs:mov [afe],bh
- xor al,al
- xchg al,ah
- pop bx
- ret
-
- rcx
- 0780
- W
- Q